import mitt from "mitt";
type Events = {
  loadImageFromFile: File;
  loadImageFromURL: string;
  openThemeDrawer: void;
	uploadFile: { is_common: 1 | 0, dir_id: string | number };
};
const mittBus = mitt<Events>();

export default mittBus;
